public class Main {
    public static void main(String[] args) {
        Calculator calculator = new Calculator(a:100:m:360;y:0.049);
        calculator.calculateAvgInterest();
        calculator.calculateAvgCap();
    }
}